package com.boarsoft.flow.trace;

import java.util.List;

public interface FlowTrace {

	void pop(Object output);

	void setId(String id);

	SimpleFlowStep peek();

	void merge(FlowTrace trace);

	void push(String step, Object clone);

	void add(SimpleFlowStep step);

	void setFlowId(String flowId);

	String getId();

	List<SimpleFlowStep> getSteps();

	void setSteps(List<SimpleFlowStep> steps);

	String getFlowId();

	String getThreadName();

	void setThreadName(String threadName);

	long getStartTime();

	void setStartTime(long startTime);

	long getEndTime();

	void setEndTime(long endTime);

	short getStatus();

	void setStatus(short status);

}
